﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d"
	x:Class="EAII_GS.NewProjectGUI"
	x:Name="Window"
	Title="New Project"
	Width="720" Height="326" WindowStyle="ToolWindow" Background="{DynamicResource GlyphBrush}" >
	<Grid x:Name="LayoutRoot" >
		<Grid.RowDefinitions>
			<RowDefinition/>
			<RowDefinition Height="82"/>
            <RowDefinition Height="34" />
            <RowDefinition Height="15"/>
        </Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition/>
			<ColumnDefinition Width="95.874"/>
			<ColumnDefinition Width="80.02"/>
			<ColumnDefinition Width="32.04"/>
		</Grid.ColumnDefinitions>
		<StackPanel Margin="8,8,0,16" Grid.Row="1" Width="86" HorizontalAlignment="Left">
			<Label Content="Name" HorizontalAlignment="Right"/>
			<Label Content="Location" HorizontalAlignment="Right"/>
        </StackPanel>
		<StackPanel Margin="106.5,0,-1.96,16" Grid.Row="1" Height="58" VerticalAlignment="Bottom">
			<TextBox x:Name="txt_systemname" TextWrapping="Wrap" Height="24.96" MaxLines="1"
                    />
			<TextBox x:Name="txt_location" TextWrapping="Wrap" Height="24.96" MaxLines="1"/>
        </StackPanel>
		<Button x:Name="btn_browse" Content="Browse" Margin="9.96,38,11.19,0" 
                Grid.Row="1" VerticalAlignment="Top" Click="btn_browse_Click" Grid.Column="1"/>
        <Grid Margin="0,0,0,2.029" Grid.ColumnSpan="4">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="119.054"/>
                <ColumnDefinition Width="357*"/>
			</Grid.ColumnDefinitions>
			<TreeView Margin="1,0,6,-0.857" >
				<TreeViewItem Header="Project">
					<TreeViewItem Header="Cold System"/>
				</TreeViewItem>
			</TreeView>
			<ListView Margin="107,0,206,0" Grid.ColumnSpan="2">
				<MenuItem x:Name="MN_Healload" Header="Heat Load " Click="MenuItem_Click"/>
				<MenuItem x:Name="MN_RefrigerationCycle" Header="Refrigeration Cycle" Click="MN_RefrigerationCycle_Click"/>
				<MenuItem x:Name="MN_ThermalEquirmentDesign" Header="Thermal Equirment Design" Width="232.117"
                          HorizontalAlignment="Center" Margin="0" Padding="2,3,1,3" Click="MN_ThermalEquirmentDesign_Click"/>
			</ListView>
        </Grid>
        <WrapPanel Grid.Row="2"  Name="wrapPanel1" 
                    Background="{DynamicResource {x:Static SystemColors.InactiveCaptionBrushKey}}"  Grid.RowSpan="2" Grid.ColumnSpan="4"  />
		
				<Button x:Name="btn_ok" Content="ok"
				 Click="btn_cancel_Click" 
				Grid.Column="1" VerticalAlignment="Bottom" Height="20" 
				HorizontalAlignment="Right"
				 Width="75" Margin="0,0,5.02,0" Grid.Row="2" 
				 d:LayoutOverrides="GridBox"/>	
				 
        		<Button x:Name="btn_cancel" Content="Cancel"
				 Click="btn_cancel_Click" 
				Grid.Column="2" VerticalAlignment="Bottom" Height="20" 
				HorizontalAlignment="Right"
				 Width="75" Margin="0,0,5.02,0" Grid.Row="2" 
				 d:LayoutOverrides="GridBox"/>
    </Grid>	
</Window>